package com.justech.eat.vo;

import com.justech.common.vo.TablePage;

import java.util.List;

public class PageDto<T> {
    private List<T> list;

    private TablePage tablePage;

    public PageDto() {
    }

    public PageDto(List<T> list, TablePage tablePage) {
        this.list = list;
        this.tablePage = tablePage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public TablePage getTablePage() {
        return tablePage;
    }

    public void setTablePage(TablePage tablePage) {
        this.tablePage = tablePage;
    }
}
